/*******************************************************************************
* Copyright (c) 2000, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
*******************************************************************************/
package org.eclipse.dltk.internal.corext.refactoring.reorg;
import org.eclipse.dltk.core.IScriptProject;
import org.eclipse.dltk.core.IProjectFragment;
/**
* Query that can be used when manipulating package fragment roots.
* Depending on the context, <code>confirmManipulation</code> can be used to
* determine wheter, for example, the package fragment root is to be deleted or
* not or if the buildpath of the referencing projects is to be updated.
*/
public interface IProjectFragmentManipulationQuery {
public boolean confirmManipulation(IProjectFragment root, IScriptProject[] referencingProjects);
}